package ace.module.account.api.enums;

import ace.cmp.core.enums.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
* 账户通过证 通行证类型.
*
* @author Caspar
*/
@AllArgsConstructor
@Getter
public enum IamAccountPassportPassportTypeEnum implements BaseEnum<Integer> {
  UNKNOWN(0,"未知"),
  USERNAME(1,"账户名通行证"),
  PHONE(2,"手机号"),
  EMAIL(3,"email"),
  WX_MINI_APP_OPENID(4,"微信小程序openid"),
  WX_MINI_APP_UNIONID(5,"微信小程序union"),
  ;
  private final Integer code;
  private final String desc;
}